﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //客户地址表
    public class UserAddressInfo
    {

        /// <summary>
        /// 主键标识
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int AddressID { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>


        [MaxLength(4)]
        public int UserID { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>


        [MaxLength(50)]
        public string ConsigneeName { get; set; }

        /// <summary>
        /// 省
        /// </summary>


        [MaxLength(50)]
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>


        [MaxLength(50)]
        public string City { get; set; }

        /// <summary>
        /// 区县
        /// </summary>


        [MaxLength(50)]
        public string County { get; set; }

        /// <summary>
        /// 地址
        /// </summary>


        [MaxLength(200)]
        public string Address { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>


        [MaxLength(10)]
        public string ZipCode { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>


        [MaxLength(20)]
        public string MobilePhone { get; set; }

        /// <summary>
        /// 电话
        /// </summary>


        [MaxLength(20)]
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>


        [MaxLength(50)]
        public string Email { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>


        [MaxLength(8)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// IsDeleted
        /// </summary>


        [MaxLength(1)]
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 是否最后使用
        /// </summary>


        [MaxLength(1)]
        public bool IsLastUsed { get; set; }

        /// <summary>
        /// 备注
        /// </summary>


        [MaxLength(200)]
        public string Remark { get; set; }


    }
}

